// 1. 导入express模块
const express = require('express');
// 2. 导入path模块
const path  = require('path')

// 3. 创建express服务对象
const app = express()

app.listen(80)

app.use(express.static('./abc'))

app.get('/page',(req,res)=>{
    res.sendFile(path.resolve(__dirname,'./14-demo.html'))
})

